<?php 
namespace Manager\Model;
use Think\Model\ViewModel;
/**
* ==============================================
* URL：http://www.liuhuanhui.cn
* ==============================================
* @date：2014-11-6
* @time：上午11:07:00
* @author：liuhuanhui
* @encoding：UTF-8
*/
class RolesViewModel extends ViewModel//角色、用户组模型
{
	
	public $viewFields = array(   
		'auth_group'=>array('title'=>'role', '_on'=>'auth_group.id=auth_group_access.group_id'),
		'auth_rule'=>array('id','title','group_id','_on'=>'users.id=auth_group_access.uid'), 
	); 
	
}